package com.carb.dto;

import com.carb.enums.CommonStatus;
import com.carb.query.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "分页查询物品传递的数据模型")
public class ItemPageQueryDTO extends PageQuery implements Serializable {

    @Schema(description = "物品名称")
    private String name;

    @Schema(description = "物品类别id")
    private Long itemCategoryId;

    @Schema(description = "品牌")
    private String brand;

    @Schema(description = "物品状态 (禁用, 启用)")
    private CommonStatus status;

}
